﻿<?xml version="1.0" encoding="utf-8" ?>
<Story>
  <Node ID="StartNode">
    <!-- Nodes that can lead into this node -->
    <PrecedingNodes></PrecedingNodes>
    <!-- Nodes that can exit this node -->
    <SucceedingNodes>EndNode,EndNodeAlternate</SucceedingNodes>
    <!-- Events that cause this node to be exited.
         There are a number of different ways to do this, 
         but each one will exit to only one other node.
         Events can be tied so that both have to be satisfied
         at the same time to continue to the exit node. 
         Multiple events can be executed with AND/OR. -->
    <Events>
      <Event ID="Advance1" ExitNode="EndNode">
        <Action Type="CollisionBoxEnter" BoxMin="0,0,0" BoxMax="5,5,5" />
      </Event>
      <Event ID="Advance2" ExitNode="EndNodeAlternate">
        <Action Type="CollisionBoxExit" BoxMin="0,0,0" BoxMax="5,5,5" />
      </Event>
      <Event ID="Advance3" ExitNode="EndNode">
        <Action Type="CollisionSphereEnter" Center="0,0,0" Radius="10" />
      </Event>
      <Event ID="Advance4" ExitNode="EndNode">
        <Action Type="CollisionSphereExit" Center="0,0,0" Radius="10" />
      </Event>
      <Event ID="Advance5" ExitNode="EndNodeAlternate" JoinBehavior="OR">
        <Action Type="GUI" RequiredInput="A" />
        <Action Type="Orientation" DirectionMin="0,0,1" DirectionMax="0,1,0" />
        <Action Type="Lookat" ObjectID="ObjectID5342" />
      </Event>
    </Events>
  </Node>
  <Node ID="EndNode">
    <PrecedingNodes>StartNode</PrecedingNodes>
    <SucceedingNodes></SucceedingNodes>
  </Node>
  <Node ID="EndNodeAlternate">
    <PrecedingNodes>StartNode</PrecedingNodes>
    <SucceedingNodes></SucceedingNodes>
  </Node>
</Story>
